<template>
  <div class="tabbar">
    <van-tabbar v-model="active" active-color="#ee0a24" route>
      <van-tabbar-item icon="wap-home-o"  to="/">首页</van-tabbar-item>
      <van-tabbar-item icon="video-o" to="/videos">多多视频</van-tabbar-item>
      <van-tabbar-item icon="bar-chart-o" to="/class">分类</van-tabbar-item>
      <van-tabbar-item icon="chat-o" to="/talk">聊天</van-tabbar-item>
      <van-tabbar-item icon="contact"  to="/my">个人中心</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "tabbar",
  data(){
    return{
      active:0
    }
  }
};
</script>

<style scoped>
</style>

